package com.cloudlead.commonData.vo;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.commonData.action.validator.TbContainerInfoValidatorGroup.*;

import java.lang.Float;
import javax.validation.constraints.Size;
import com.cloudlead.commonData.vo.BaseCar;
import java.lang.Double;
import com.cloudlead.commonData.vo.BaseDriver;
import com.cloudlead.common.lang.annotation.BelongsTos;
import org.joda.time.DateTime;
import javax.validation.constraints.NotNull;
import com.cloudlead.commonData.vo.TbCustomerOrder;
import com.cloudlead.commonData.vo.TbFleetOrder;
import com.cloudlead.common.lang.annotation.Domain;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;

/**
 * TbContainerInfo is a Codegen vo type
 */
@Label("TbContainerInfo")
@Domain(domainClassName="com.cloudlead.commonData.entity.ETbContainerInfo")
@BelongsTos(values = {
	@com.cloudlead.common.lang.annotation.BelongsTo(property="car", rootField="carId")
,	@com.cloudlead.common.lang.annotation.BelongsTo(property="driver", rootField="driverId")
,	@com.cloudlead.common.lang.annotation.BelongsTo(property="fleetOrder", rootField="fleetOrderId")
,	@com.cloudlead.common.lang.annotation.BelongsTo(property="tbCustomerOrder", rootField="tbCustomerOrderId")
,	@com.cloudlead.common.lang.annotation.BelongsTo(property="trailerCar", rootField="trailerCarId")
,	@com.cloudlead.common.lang.annotation.BelongsTo(property="trailerDriver", rootField="trailerDriverId")
})
public class TbContainerInfo extends AbstractIdEntity<String> {

    private static final long serialVersionUID =13384311012762L;    
    @Label("车辆")
    private BaseCar car;

    @Label("流水号")
    @Size(max=45)
    private String carNumber;

    @Label("车队单价")
    private Double carPrice;

    @Label("备注")
    @Size(max=1000)
    private String comments;

    @Label("确认时间")
    private DateTime confirmTime;

    @Label("车队联系人")
    @Size(max=45)
    private String contactPerson;

    @Label("车队联系电话")
    @Size(max=45)
    private String contactTel;

    @Label("箱号")
    @Size(max=45)
    private String containerNo;

    @Label("铅封号")
    @Size(max=45)
    private String containerSeal;

    @Label("重量")
    private Float containerWeight;

    @Label("createDate")
    private DateTime createDate;

    @Label("危险品标记")
    @Size(max=45)
    private String dangerous;

    @Label("驾驶员")
    private BaseDriver driver;

    @Label("车队反馈信息")
    @Size(max=1000)
    private String feedBack;

    @Label("完成时间")
    private DateTime finishTime;

    @Label("删除标记")
    @Size(max=8)
    private String flag;

    @Label("车队订单ID")
    private TbFleetOrder fleetOrder;

    @Label("车队状态")
    @Size(max=45)
    private String fleetStatus;

    @Label("货代单价")
    private Double forwarderPrice;

    @NotNull(groups={Update.class})
    @Label("id")
    @Size(max=24)
    private String id;

    @Label("进入门点时间")
    private DateTime intoTime;

    @Label("进出口标记")
    @Size(max=8)
    private String isStart;

    @Label("港区")
    @Size(max=45)
    private String minato;

    @Label("离开门点时间")
    private DateTime outTime;

    @Label("计划时间")
    private DateTime planDate;

    @Label("保存时间")
    private DateTime saveDate;

    @Label("派车人")
    @Size(max=45)
    private String sendCarPepole;

    @Label("派车时间")
    private DateTime sendCarTime;

    @Label("serialNumber")
    @Size(max=255)
    private String serialNumber;

    @Label("船运状态")
    @Size(max=45)
    private String shipStatus;

    @Label("提箱时间")
    private DateTime suitcaseTime;

    @Label("tbCustomerOrderId")
    private TbCustomerOrder tbCustomerOrder;

    @Label("温度")
    @Size(max=45)
    private String temp;

    @Label("甩挂车辆")
    private BaseCar trailerCar;

    @Label("甩挂司机")
    private BaseDriver trailerDriver;

    @Label("甩挂标记")
    @Size(max=45)
    private String trailerFlag;

    @Label("尺寸类型")
    @Size(max=8)
    private String type;

    @Label("体积")
    private Float volume;

    public BaseCar getCar() {
        return car;
    }

    public void setCar(BaseCar car) {
        this.car = car;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public Double getCarPrice() {
        return carPrice;
    }

    public void setCarPrice(Double carPrice) {
        this.carPrice = carPrice;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public DateTime getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(DateTime confirmTime) {
        this.confirmTime = confirmTime;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getContactTel() {
        return contactTel;
    }

    public void setContactTel(String contactTel) {
        this.contactTel = contactTel;
    }

    public String getContainerNo() {
        return containerNo;
    }

    public void setContainerNo(String containerNo) {
        this.containerNo = containerNo;
    }

    public String getContainerSeal() {
        return containerSeal;
    }

    public void setContainerSeal(String containerSeal) {
        this.containerSeal = containerSeal;
    }

    public Float getContainerWeight() {
        return containerWeight;
    }

    public void setContainerWeight(Float containerWeight) {
        this.containerWeight = containerWeight;
    }

    public DateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(DateTime createDate) {
        this.createDate = createDate;
    }

    public String getDangerous() {
        return dangerous;
    }

    public void setDangerous(String dangerous) {
        this.dangerous = dangerous;
    }

    public BaseDriver getDriver() {
        return driver;
    }

    public void setDriver(BaseDriver driver) {
        this.driver = driver;
    }

    public String getFeedBack() {
        return feedBack;
    }

    public void setFeedBack(String feedBack) {
        this.feedBack = feedBack;
    }

    public DateTime getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(DateTime finishTime) {
        this.finishTime = finishTime;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public TbFleetOrder getFleetOrder() {
        return fleetOrder;
    }

    public void setFleetOrder(TbFleetOrder fleetOrder) {
        this.fleetOrder = fleetOrder;
    }

    public String getFleetStatus() {
        return fleetStatus;
    }

    public void setFleetStatus(String fleetStatus) {
        this.fleetStatus = fleetStatus;
    }

    public Double getForwarderPrice() {
        return forwarderPrice;
    }

    public void setForwarderPrice(Double forwarderPrice) {
        this.forwarderPrice = forwarderPrice;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public DateTime getIntoTime() {
        return intoTime;
    }

    public void setIntoTime(DateTime intoTime) {
        this.intoTime = intoTime;
    }

    public String getIsStart() {
        return isStart;
    }

    public void setIsStart(String isStart) {
        this.isStart = isStart;
    }

    public String getMinato() {
        return minato;
    }

    public void setMinato(String minato) {
        this.minato = minato;
    }

    public DateTime getOutTime() {
        return outTime;
    }

    public void setOutTime(DateTime outTime) {
        this.outTime = outTime;
    }

    public DateTime getPlanDate() {
        return planDate;
    }

    public void setPlanDate(DateTime planDate) {
        this.planDate = planDate;
    }

    public DateTime getSaveDate() {
        return saveDate;
    }

    public void setSaveDate(DateTime saveDate) {
        this.saveDate = saveDate;
    }

    public String getSendCarPepole() {
        return sendCarPepole;
    }

    public void setSendCarPepole(String sendCarPepole) {
        this.sendCarPepole = sendCarPepole;
    }

    public DateTime getSendCarTime() {
        return sendCarTime;
    }

    public void setSendCarTime(DateTime sendCarTime) {
        this.sendCarTime = sendCarTime;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getShipStatus() {
        return shipStatus;
    }

    public void setShipStatus(String shipStatus) {
        this.shipStatus = shipStatus;
    }

    public DateTime getSuitcaseTime() {
        return suitcaseTime;
    }

    public void setSuitcaseTime(DateTime suitcaseTime) {
        this.suitcaseTime = suitcaseTime;
    }

    public TbCustomerOrder getTbCustomerOrder() {
        return tbCustomerOrder;
    }

    public void setTbCustomerOrder(TbCustomerOrder tbCustomerOrder) {
        this.tbCustomerOrder = tbCustomerOrder;
    }

    public String getTemp() {
        return temp;
    }

    public void setTemp(String temp) {
        this.temp = temp;
    }

    public BaseCar getTrailerCar() {
        return trailerCar;
    }

    public void setTrailerCar(BaseCar trailerCar) {
        this.trailerCar = trailerCar;
    }

    public BaseDriver getTrailerDriver() {
        return trailerDriver;
    }

    public void setTrailerDriver(BaseDriver trailerDriver) {
        this.trailerDriver = trailerDriver;
    }

    public String getTrailerFlag() {
        return trailerFlag;
    }

    public void setTrailerFlag(String trailerFlag) {
        this.trailerFlag = trailerFlag;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Float getVolume() {
        return volume;
    }

    public void setVolume(Float volume) {
        this.volume = volume;
    }

    public String toString() {
         return String.format("TbContainerInfo { car : %s,carNumber : %s,carPrice : %s,comments : %s,confirmTime : %s,contactPerson : %s,contactTel : %s,containerNo : %s,containerSeal : %s,containerWeight : %s,createDate : %s,dangerous : %s,driver : %s,feedBack : %s,finishTime : %s,flag : %s,fleetOrder : %s,fleetStatus : %s,forwarderPrice : %s,id : %s,intoTime : %s,isStart : %s,minato : %s,outTime : %s,planDate : %s,saveDate : %s,sendCarPepole : %s,sendCarTime : %s,serialNumber : %s,shipStatus : %s,suitcaseTime : %s,tbCustomerOrder : %s,temp : %s,trailerCar : %s,trailerDriver : %s,trailerFlag : %s,type : %s,volume : %s }",car,carNumber,carPrice,comments,confirmTime,contactPerson,contactTel,containerNo,containerSeal,containerWeight,createDate,dangerous,driver,feedBack,finishTime,flag,fleetOrder,fleetStatus,forwarderPrice,id,intoTime,isStart,minato,outTime,planDate,saveDate,sendCarPepole,sendCarTime,serialNumber,shipStatus,suitcaseTime,tbCustomerOrder,temp,trailerCar,trailerDriver,trailerFlag,type,volume);
    }

}

